package com.study.zzedu.bean;

import com.study.zzedu.R;
import com.study.zzedu.widget.bean.LayoutItem;

/**
 * RootNode
 *
 * @author 林zero
 * @date 2018/1/14
 */

public class HeadNodeGrade implements LayoutItem {
    private String term;
    private String index;

    public HeadNodeGrade(String term, String index) {
        this.term = term;
        this.index = index;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    @Override
    public int getLayoutId() {
        return R.layout.item_head_grade;
    }

    @Override
    public int getToggleId() {
        return R.id.ivNode;
    }

    @Override
    public int getCheckedId() {
        return 0;
    }

    @Override
    public int getClickId() {
        return R.id.ivName;
    }

    @Override
    public int getTypeId() {
        return 0;
    }
}
